// Press Shift twice to open the Search Everywhere dialog and type `show whitespaces`,
// then press Enter. You can now see whitespace characters in your code.
public class Main {
    public static void main(String[]args){
        int[] arr = new int[5];
        System.out.println("数组元素个数为："+ arr.length);
        arr[0] = 1;
        arr[1] = 2;
        arr[2] = 3;
        arr[3] = 4;
        arr[4] = 5;
        System.out.print("数组元素为：");
        for (int i = 0;i<arr.length;i++){
            System.out.print(arr[i] + "");
        }
    }
}